/*
 *  NPCList.h
 *  SquirrelAdven
 *
 *  Created by Wen Xu on 3/7/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#include <string>
#include <vector>
#include "NPC.h"

using namespace std;

class NPCList {
protected:
	string filename;
	vector<NPC> npcList;
	void parseData();
	
public:
	NPCList(string filename);
	~NPCList();
	
	// getter
	vector<NPC> getNPCList();
	NPC * getNPCByID(int ID);
	NPC * getNPCByTitle(string title);
	int getNPCCount();
};